<!DOCTYPE html>
<html lang="">
<head>
	<meta charset="utf-8">
	<title>Preload</title>
</head>
<body>
	<script type="text/javascript" src="./jquery.js"></script>
	<script type="text/javascript" src="./jquery.preload.js"></script>
	<script type="text/javascript">
		$(function () {
			$.preload([])
				.then(function () {
				    alert('加载成功');
				}, function () {
				    alert('加载失败');
				});
		});
	</script>
</body>
</html>